package com.itheima.idea;

public class Test1Array {
    public static void main(String[] args) {
        int[] arr = {11,22,33,44,55};
        //  求arr中大于35的元素个数.
        int count = 0;
        for(int i =0; i < arr.length;i++){
            if(arr[i] > 35){
                count++;
            }
        }
        System.out.println("arr中大于35的元素个数:"+count);
    }
}
